package com.jiaai.family.api;

import com.jiaai.family.model.TFyroleVO;

/**
 * <p>
 * TODO
 * </p>
 *
 * @author 佳爱网络科技
 * @version V1.0
 * @title TFyroleApi
 * @since 2017/10/19
 */
public interface TFyroleApi {
    /**
     *删除单个家族下的单个成员
     * @param id,fyId
     * @return
     */
    Object delete(Integer fyId,Integer id) throws Exception;
    /**
     *添加成员
     * @param fyId,mId,isNo
     * @return
     */
    Object joinFamily(Integer fyId, String mId,boolean isAccaus) throws Exception;

    /**
     *修改成员信息
     * @param id,fyId,mId,fyRole,mId
     * @return
     */
    Object update(Integer id,Integer fyId,Integer fyRole,String mId) throws Exception;
    /**
     *审核通过成员修改审核状态
     * @param id
     * @param applyState,mId
     * @return
     */
    Object changeState(Integer id,Integer applyState,Integer fyId,String mId) throws Exception;

    /**
     *查询单个成员信息
     * @param
     * @param fyId,mId
     * @return
     */
    Object findById(Integer fyId,String mId);

    /**
     *查询单个家族的所有成员
     * @param curr，tFamilyVO
     * @return
     */
    Object allrole(Integer curr,TFyroleVO tFyroleVO) throws Exception;




}
